CREATE TABLE [dbo].[TTCONF_LIEL]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[CO_LIBR] [dbo].[TD_VC_008] NOT NULL,
[DE_LIBR] [dbo].[TD_VC_200] NULL,
[VA_PO01] [dbo].[TD_VC_020] NULL,
[VA_PO02] [dbo].[TD_VC_020] NULL,
[VA_PO03] [dbo].[TD_VC_020] NULL,
[VA_PO04] [dbo].[TD_VC_020] NULL,
[VA_PO05] [dbo].[TD_VC_020] NULL,
[VA_PO06] [dbo].[TD_VC_020] NULL,
[VA_PO07] [dbo].[TD_VC_020] NULL,
[VA_PO08] [dbo].[TD_VC_020] NULL,
[VA_PO09] [dbo].[TD_VC_020] NULL,
[VA_PO10] [dbo].[TD_VC_020] NULL,
[VA_PO11] [dbo].[TD_VC_020] NULL,
[VA_PO12] [dbo].[TD_VC_020] NULL,
[VA_PO13] [dbo].[TD_VC_020] NULL,
[VA_PO14] [dbo].[TD_VC_020] NULL,
[VA_PO15] [dbo].[TD_VC_020] NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TTCONF_LI__CO_US__2AD55B43] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTCONF_LI__FE_US__2BC97F7C] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TTCONF_LI__CO_US__2CBDA3B5] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTCONF_LI__FE_US__2DB1C7EE] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTCONF_LIEL] ADD CONSTRAINT [PK__TTCONF_L__8B9A5D75420DC656] PRIMARY KEY CLUSTERED  ([CO_EMPR], [CO_LIBR]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[TTCONF_LIEL] TO [public]
GRANT INSERT ON  [dbo].[TTCONF_LIEL] TO [public]
GRANT DELETE ON  [dbo].[TTCONF_LIEL] TO [public]
GRANT UPDATE ON  [dbo].[TTCONF_LIEL] TO [public]
GO
